projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e207a0
)
Set bg none while changing so we don't draw the bg color
author
Alexander Larsson
<alexl@redhat.com>
Wed, 14 Jan 2009 20:20:26 +0000
(21:20 +0100)
committer
Alexander Larsson
<alex@localhost.localdomain>
Thu, 2 Apr 2009 08:15:18 +0000
(10:15 +0200)
gdk/x11/gdkwindow-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkwindow-x11.c
b/gdk/x11/gdkwindow-x11.c
index 0500f073b48477a4a98a2950e6684af742fabb8e..b3b68466b34123a7cd8d2ecb23beb2f543a1f33f 100644
(file)
--- a/
gdk/x11/gdkwindow-x11.c
+++ b/
gdk/x11/gdkwindow-x11.c
@@
-3377,6
+3377,9
@@
do_shape_combine_region (GdkWindow *window,
0, 0,
&xrects, &n_rects);
+
+ _gdk_x11_window_tmp_unset_bg ((GdkWindow *)private->parent, TRUE);
+
XShapeCombineRectangles (GDK_WINDOW_XDISPLAY (window),
GDK_WINDOW_XID (window),
shape,
@@
-3385,6
+3388,8
@@
do_shape_combine_region (GdkWindow *window,
ShapeSet,
YXBanded);
+ _gdk_x11_window_tmp_reset_bg ((GdkWindow *)private->parent, TRUE);
+
g_free (xrects);
}
#endif /* HAVE_SHAPE_EXT */